<!DOCTYPE html>
<html>
<head>
<#include "/common/freemarker/include_css.ftl">
<title>编辑</title>
</head>
 
<body>
	<div class="panel panel-default">
	   <div class="panel-heading">
	       <div class="panel-title">编辑</div>
	   </div>
	   <div clas="panel-body">
	      <div class="row">
	           <div class="col-md-12">
	               <br>
	               <form id="contentForm" class="form-horizontal"  action="<@context/>site/event/saveByUuid.do" method="post"  >
	                	<input type="hidden" name="uuid" value='<#if rhs["obj"]?exists>${rhs["obj"].uuid?if_exists}</#if>' />
						<input type="hidden" name="projectId" value='<#if rhs["obj"]?exists>${rhs["obj"].projectId?if_exists}</#if>' />
	                    <div class="form-group">
	                    	<label class="col-md-2 control-label">活动名称 <font color="red"> *</font></label>
	                        <div class="col-md-9">
								<input type="text"  class="input-sm form-control required" id="title" name="title" value='<#if rhs["obj"]?exists>${rhs["obj"].title?if_exists}</#if>'    minlength="2"  />
	                    	</div>              	
	                    </div> 
	                     <div class="form-group">
	                    	<label class="col-md-2 control-label">报名截止时间 <font color="red"> *</font></label>
	                        <div class="col-md-9">
	                   			<input type="text" class="input-sm form-control" id="deadline" name="deadline" value='<#if rhs["obj"]?exists && rhs["obj"].deadline?exists>${rhs["obj"].deadline?string("yyyy-MM-dd HH:mm:ss")}</#if> ' 
								onclick="javascript:WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'});"   class="{required:true}"/>
						     </div>              	
	                    </div>
	                    
  	                    <div class="form-group">
	                    	<label class="col-md-2  control-label">详细内容<font color="red"> *</font></label>
	                        <div class="col-md-9">
								<textarea class="form-control required" rows="3" id="content" name="content"     minlength="2" maxlength="1000"  ><#if rhs["obj"]?exists>${rhs["obj"].content?if_exists}</#if></textarea>
	                    	</div>              	
	                    </div>  
	                    
	                    <div class="form-group">
	                    	<label class="col-md-2 control-label">多主题(主题间逗号,隔开) <font color="red"></font></label>
	                        <div class="col-md-9">
								<input type="text"  class="input-sm form-control" id="title" name="subjects" value='<#if rhs["obj"]?exists>${rhs["obj"].subjects?if_exists}</#if>'    minlength="2"  />
	                    	</div>              	
	                    </div> 
	                    
	                    <div class="form-group">
	                    	<div class="col-md-offset-2 col-md-10">
	                    		<input type="button" class="btn btn-sm btn-primary" id="submitBtn" value="保 存"/>
	                    		<input type="button" class="btn btn-sm btn-default" value="返 回" onclick="javascript:history.go(-1)"/>
	                    	</div>
	                    </div>
	              </form>
	        </div>
	    </div>
	</div>
	<#--  公共js -->
	<#include "/common/freemarker/include_js.ftl">
	<#--  页面自己的js -->
	<script src="<@context/>app/site/event/js/editByUuid.js"></script>
		<#--  页面自己的js -->
	<script type="text/javascript" src="<@context/>common/ckeditor_4.5.4_full/ckeditor/ckeditor.js"></script>
	
</body>
</html>
 

